package com.gagakuai.bpm.service.camunda.impl;


import com.gagakuai.bpm.dao.mapper.camunda.ActHiProcinstMapper;
import com.gagakuai.bpm.domian.entity.camuda.ActHiProcinst;
import com.gagakuai.bpm.service.camunda.ActHiProcinstService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ActHiProcinstServiceImpl implements ActHiProcinstService {

    @Resource
    private ActHiProcinstMapper actHiProcinstMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return actHiProcinstMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ActHiProcinst record) {
        return actHiProcinstMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(ActHiProcinst record) {
        return actHiProcinstMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(ActHiProcinst record) {
        return actHiProcinstMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(ActHiProcinst record) {
        return actHiProcinstMapper.insertSelective(record);
    }

    @Override
    public ActHiProcinst selectByPrimaryKey(String id) {
        return actHiProcinstMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ActHiProcinst record) {
        return actHiProcinstMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ActHiProcinst record) {
        return actHiProcinstMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<ActHiProcinst> list) {
        return actHiProcinstMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<ActHiProcinst> list) {
        return actHiProcinstMapper.batchInsert(list);
    }

}

